﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.AccountModel
{
    public class ToolTabColumnPermisionsGridViewModel
    {
        public List<ToolTabColumnPermisionsGridRowViewModel> Rows;
        public int UserID { get; set; }
        public int ProfileID { get; set; }
        public int ToolTabFixedColumnCountID { get; set; }
        [DisplayName("Fixed Column Count:")]
        public int FixedColumnCount { get; set; }
        public int ToolTabID { get; set; }
        public int ToolID { get; set; }
        public List<SelectListItem> ToolTabColumnName { get; set; }
        public int SelectedToolTabColumnID { get; set; }
        public string Message { get; set; }
    }
    public class ToolTabColumnPermisionsGridRowViewModel
    {
        public int UserID { get; set; }
        public int ProfileID { get; set; }
        public string ProfileName { get; set; }
        public int ToolTabFixedColumnCountID { get; set; }
        public int FixedColumnCount { get; set; }
        public int ToolTabID { get; set; }
        public bool CanEdit { get; set; }
        public bool CanView { get; set; }
        public int SelectedToolTabColumnID { get; set; }
        public int LineNo { get; set; }
    }
}
